package com.tencreat.common.entity.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author tencreat
 */
@Data
public class ReqLoginParam {

    /**
     * 用户名
     */
    @NotNull
    @NotBlank
    private String username;
    /**
     * 密码
     */
    @NotNull
    @NotBlank
    private String password;

}
